package STUDENT.LEKHUONGDUY.OOPs.Login;

public class Controllers {
	public double result;

	public void dieuHuong(Object obj){
		
		Models objM = new Models();
		
		switch (obj.getMath()) {
		case "1":
			result = objM.cong(obj);
			break;
		case "2":
			result = objM.tru(obj);
			break;
		case "3":
			result = objM.nhan(obj);
			break;
		case "4":
			result = objM.chia(obj);
			break;
		default:
			break;
		}
	}
}
